package com.oa.demo.common.annotation;


import com.oa.demo.common.configure.BaseAuthExceptionConfigure;
import com.oa.demo.common.configure.BaseWebMvcConfigurer;
import com.oa.demo.common.configure.OAuth2FeignConfigure;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 微服务基础配置
 * @author 孔德成
 * @date 2020/11/25 17:36
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({BaseAuthExceptionConfigure.class, OAuth2FeignConfigure.class, BaseWebMvcConfigurer.class})
public @interface BaseCloudApplication {
}
